import request from './http'

// https://apis.netstart.cn/bcomic/ListReviews?comicId=31033
export function getListReviewsData(query) {
    return request({
        url: `/bcomic/ListReviews?sort=${query.sort}&comicId=${query.comicId}`,
        method: 'get'
    })
}

// https://apis.netstart.cn/bcomic/GetReviewDetailByComicID?comicId=31033
export function getGetReviewDetailByComicIDData(query) {
    return request({
        url: `/bcomic/GetReviewDetailByComicID?comicId=${query}`,
        method: 'get'
    })
}

// https://apis.netstart.cn/bcomic/ReplyMain?oid=30154&next=2
export function getReplyMainData(query) {
    return request({
        url: `/bcomic/ReplyMain?oid=${query.detailsid}&mode=${query.mode}&ps=${query.page}`,
        method: 'get'
    })
}